package lormi.meipin.service;

import lormi.meipin.entity.PositionClass;
import lormi.meipin.exception.LMException;

import java.util.List;

/**
 * 系统职位操作接口
 * @author ThreeFeng
 */
public interface IPositionClassService {

	/**
	 * 通过系统职位Id查询
	 * @param id
	 * @return
	 */
	PositionClass getById(Integer id) throws LMException;
	
	/**
	 * 获取一级职位类别
	 * @return
	 */
	List<PositionClass> getOnePositionClass() throws LMException;
	
	/**
	 * 获取二级职位列表
	 * @param id
	 * @return 
	 */
	List<PositionClass> getTwoPositionClass(Integer id) throws LMException;
	
}
